package com.topvision.service.impl.zwan;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.zwan.DeviceVendorMapMapper;
import com.topvision.model.zwan.DeviceVendorMap;
import com.topvision.service.zwan.DeviceVendorMapService;

@Service("deviceVendorMapService")
public class DeviceVendorMapServiceImpl implements DeviceVendorMapService {
	@Autowired
	private DeviceVendorMapMapper deviceVendorMapMapper;
	
	@Override
	public DeviceVendorMap queryObject(Long id){
		return deviceVendorMapMapper.queryObject(id);
	}
	
	@Override
	public List<DeviceVendorMap> queryList(Map<String, Object> map){
		return deviceVendorMapMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return deviceVendorMapMapper.queryTotal(map);
	}
	
	@Override
	public void save(DeviceVendorMap deviceVendorMap){
		deviceVendorMapMapper.save(deviceVendorMap);
	}
	
	@Override
	public void update(DeviceVendorMap deviceVendorMap){
		deviceVendorMapMapper.update(deviceVendorMap);
	}
	
	@Override
	public void delete(Long id){
		deviceVendorMapMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		deviceVendorMapMapper.deleteBatch(ids);
	}

    @Override
    public DeviceVendorMap queryObjectByMap(Map<String, Object> map){
        return deviceVendorMapMapper.queryObjectByMap(map);
    }

    @Override
    public List<DeviceVendorMap> queryByParam(Map<String, Object> map){
        return deviceVendorMapMapper.queryByParam(map);
    }

	@Override
	public List<DeviceVendorMap> findByDeviceids(List<String> deviceids) {
		return deviceVendorMapMapper.findByDeviceids(deviceids);
	}
}
